This document provides a basic tutorial on using the Eclipse IDE for Java development, covering topics such as creating and configuring Java projects, using the debugger, searching code, refactoring code, and more. It includes step-by-step instructions and explanations of Java-related features in Eclipse. The table of contents lists over 50 sections covering various aspects of the Java development tools in Eclipse.
Candy - Construction Estimating & Valuations - rev 2.01Jerico Awat
This document provides a table of contents for a course on construction estimating and valuations. The document outlines 12 chapters that will be covered in the course, including importing a bill of quantities, pricing bill items, using subcontractors, adding markups, and post-tender control. Key topics that will be addressed include downloading software, setting up new projects, importing Excel spreadsheets, defining trades, using worksheets to price items, analyzing resources, and using masters for pricing.
This document provides an index and overview of the chapters contained in the Candy Construction Planning & Programming course notes. The chapters cover topics like starting a new company and job in Candy, using the planning and calendar modules, creating and customizing bar charts to plan activities, program analysis using checklists and timelines, reporting on resources, procurement scheduling, and updating progress. The course aims to teach the objectives and logic of Candy planning as well as practical techniques for filtering, sorting, copying and navigating documents.
This document provides an overview and instructions for using Moodle 2.0. It discusses navigating Moodle and managing course content. Key topics covered include logging in, page layouts, adding and arranging blocks, turning on editing, uploading files and creating folders, setting resource and activity visibility, and creating assignments for file uploads. The document is intended to help users understand Moodle basics and essential design elements.
Sap hr implementation config rc - Aditi TarafdarAditi Tarafdar
This document provides configuration instructions for SAP HR recruitment management. It covers settings for integrating recruitment with personnel administration, configuring workforce requirements and advertising, applicant administration, and applicant selection. The document includes screenshots of relevant SAP system navigation screens and configuration screens. It aims to meet Indian business scenarios and requirements for recruitment processes in SAP.
This document is a table of contents for a book titled "A Beginners Introduction to Java 2" by James W. Cooper. The document outlines 27 chapters that cover topics such as how computers work, what Java is, installing and using Java, the syntax of the Java language, object oriented programming in Java, using classes in Java, inheritance, Java visual controls, Swing classes, writing Java programs and applets, files and exceptions in Java, using threads in Java, images in Java, menus and dialogs in Java, and more advanced Java topics including packages, building web pages, JavaScript, servlets, and Java server pages.
Here are the key steps for browsing component classes using the PCB editor panel:
- Select "Component Classes" from the drop down box at the top of the panel. This will list all component classes in the PCB.
- Click on a component class name to select it. The components that belong to that class will then be listed in the lower scroll box.
- You can click on a component name to highlight it in the MiniViewer.
- Click the "Edit" button to open the Edit Component Class dialog box for the selected class. This allows you to modify the class properties.
- Double clicking a component name will also open the Edit Component dialog box for that specific component.
-
This document provides guidance on creating and designing clinical studies in Oracle Clinical. It discusses planning studies, defining data collection instruments (DCMs and DCIs), creating treatment schedules, and other important study design activities. The key steps covered include planning intervals and events, creating sites and patient positions, defining treatments and randomization, and laying out data entry screens.
Candy - Construction Estimating & Valuations - rev 2.01Jerico Awat
This document provides a table of contents for a course on construction estimating and valuations. The document outlines 12 chapters that will be covered in the course, including importing a bill of quantities, pricing bill items, using subcontractors, adding markups, and post-tender control. Key topics that will be addressed include downloading software, setting up new projects, importing Excel spreadsheets, defining trades, using worksheets to price items, analyzing resources, and using masters for pricing.
This document provides an index and overview of the chapters contained in the Candy Construction Planning & Programming course notes. The chapters cover topics like starting a new company and job in Candy, using the planning and calendar modules, creating and customizing bar charts to plan activities, program analysis using checklists and timelines, reporting on resources, procurement scheduling, and updating progress. The course aims to teach the objectives and logic of Candy planning as well as practical techniques for filtering, sorting, copying and navigating documents.
This document provides an overview and instructions for using Moodle 2.0. It discusses navigating Moodle and managing course content. Key topics covered include logging in, page layouts, adding and arranging blocks, turning on editing, uploading files and creating folders, setting resource and activity visibility, and creating assignments for file uploads. The document is intended to help users understand Moodle basics and essential design elements.
Sap hr implementation config rc - Aditi TarafdarAditi Tarafdar
This document provides configuration instructions for SAP HR recruitment management. It covers settings for integrating recruitment with personnel administration, configuring workforce requirements and advertising, applicant administration, and applicant selection. The document includes screenshots of relevant SAP system navigation screens and configuration screens. It aims to meet Indian business scenarios and requirements for recruitment processes in SAP.
This document is a table of contents for a book titled "A Beginners Introduction to Java 2" by James W. Cooper. The document outlines 27 chapters that cover topics such as how computers work, what Java is, installing and using Java, the syntax of the Java language, object oriented programming in Java, using classes in Java, inheritance, Java visual controls, Swing classes, writing Java programs and applets, files and exceptions in Java, using threads in Java, images in Java, menus and dialogs in Java, and more advanced Java topics including packages, building web pages, JavaScript, servlets, and Java server pages.
Here are the key steps for browsing component classes using the PCB editor panel:
- Select "Component Classes" from the drop down box at the top of the panel. This will list all component classes in the PCB.
- Click on a component class name to select it. The components that belong to that class will then be listed in the lower scroll box.
- You can click on a component name to highlight it in the MiniViewer.
- Click the "Edit" button to open the Edit Component Class dialog box for the selected class. This allows you to modify the class properties.
- Double clicking a component name will also open the Edit Component dialog box for that specific component.
-
This document provides guidance on creating and designing clinical studies in Oracle Clinical. It discusses planning studies, defining data collection instruments (DCMs and DCIs), creating treatment schedules, and other important study design activities. The key steps covered include planning intervals and events, creating sites and patient positions, defining treatments and randomization, and laying out data entry screens.
This study utilized the Diffusion of Innovation Theory (DOI), and the Digital Marketing Model (DMM) and proposes a model
to examine the impact of perceived internal and external factors; on the effective implementation
strategies employed by organizations and how they affect Web sustainability.
The document provides an overview and instructions for operating an ER-350 electronic cash register, including descriptions of the keyboard functions and basic features such as registering sales, totaling transactions, and accepting various forms of payment. It also outlines programming options for customizing settings like departments, taxes, clerks, and reports.
The document provides an overview of Apex development for the Winter '13 release of Salesforce:
- It introduces Apex and how it can be used to extend Salesforce with custom application logic. The basic development process is outlined including using sandboxes, writing code, testing, and deployment.
- Core Apex concepts like data types, variables, expressions, and control structures are explained. Invoking Apex via triggers, schedulers, and anonymous blocks is also covered at a high level.
- The document serves as a reference for Apex classes, interfaces, exceptions and standard methods that can be used in development. Debugging and testing techniques are also summarized.
This chapter introduces Joomla, an open source content management system (CMS) used to build websites. Joomla is derived from the Swahili word meaning "all together" and is the result of a discussion between the Mambo Foundation and its development team in 2005. Joomla has seen major version releases over the years including 1.0, 1.5, 1.6, 1.7, and the upcoming long term support (LTS) version 2.5. Joomla is used worldwide on simple homepages and complex corporate websites due to its ease of installation, management, and reliability. While many existing users have upgraded over the years, there are still those unfamiliar with the system.
This document summarizes the applied software engineering assignment for developing a Monopoly game. It includes reverse engineering the original game and analyzing requirements. System requirements and use cases are defined. Class diagrams and state diagrams are created to model the game elements and their relationships. The re-engineering process uses test-driven development, with unit tests created for key components. Some tests are incomplete, demonstrating a need to fully implement testing. The document concludes with a review of test-driven development effectiveness and recommendations to improve the software quality.
This document provides instructions for using the Scrapbook+ application version 2.2. It describes how to install Scrapbook+, start the application, capture pages by autopasting from the clipboard or taking screen captures, save Scrapbook+ files, open existing files, start new files, export pages to individual files, and cut, copy, and paste pages. The manual also contains information on configuring Scrapbook+, deleting pages, moving between pages, and finding pages.
The document summarizes deviations between JScript and ECMAScript Edition 3. It discusses 22 specific deviations across areas like white space handling, future reserved words, string literals, the arguments object, global object handling, and more. For each deviation, it provides an example and the output from running the example on different browsers to illustrate differences in implementation. The goal is to document JScript's non-conformance to the ECMA specification for various language features.
Production scheduling Using Microsoft Dynamics AX 2009
How to implement a production scheduling engine using Microsoft Dynamics AX 2009?
The standard Microsoft Dynamics AX 2009’s production scheduling engine considers the following:
A Route is a set of multiple operations sequentially executed.
The link between these operations can be soft or hard.
Each operation uses a specific work center
You can have several route versions to manufacture an item.
And more
In our production environment, a Production Line is a combination of two types of work centers that are a machine (an extruder) and downstream equipment (tools).We’re currently using a manual production scheduling system because there are some differences between the production module in Microsoft Dynamics AX 2009 and our current manual system. The current production routes registered in the system (in Dynamics AX 2009) are just enumeration of operations that in reality are done once at the time of the production.
This is meanly due to the understanding of the standard requirement of the production routing at the time of the implementation. The result of this mistake was a pure and simple abandon of the production scheduling sub module of Microsoft Dynamics AX 2009. Mainly because it will be too hard to maintain several thousand of routes.
Thus, the management decided to rely on its own experience.
The attempt of this paper is to show how we have tackled this complex issue of production scheduling and the lessons that we have learnt.
This document contains confidential information about a training module for an identity lifecycle manager. It establishes the document as proprietary and for internal use only. The document provides copyright information and disclaims any warranties for the content. It includes a table of contents but the content is not defined, indicating it is a draft or template document.
This document provides an overview and instructions for installing and configuring Slackware Linux. It covers getting and installing Slackware, system requirements, partitioning disks during setup, selecting and compiling kernels, configuring network hardware and network protocols like TCP/IP, and setting up dial-up connections using PPP. The table of contents provides additional details on topics like file system layout, finding files on the system, and managing kernel modules.
This chapter shows how to use the Data Wizard to add data to an existing HTML page template. The tutorial walks through opening the HTML template file, using the Data Wizard to connect to the sample schema and select the necessary data, and saving the file as a JSP. This creates a data model that makes the sample data available for use in generating the Web report.
The tutorial demonstrates how to add components to a new schematic design in DesignSpark. You select the Add Component browser tab and choose a component from the list, such as a resistor. You can then drag the component into the design window and place it by clicking. The tutorial instructs you to add 7 resistors to practice placing multiple components. Panning and zooming tools allow you to view the components closer.
This document provides information about the mia material shader library for architectural visualization and design. It discusses the fundamentals of physically based rendering used by the mia material, describes the material's features like its shading model, BRDF, and parameters for controlling effects like diffuse, reflections, refractions, and more. It also provides tips for simulating common materials like wood, glass, metals, water and optimizing performance.
Red Hat Enterprise Linux 4: Introduction to System Administration is a documentation guide that covers:
1. The philosophy of system administration including automating tasks, documenting processes, communicating with users, understanding resources and security.
2. Resource monitoring on Linux systems using tools like free, top, vmstat and the Sysstat suite to monitor CPU, memory, storage and bandwidth usage.
3. Managing bandwidth and processing power on Linux including monitoring techniques in Red Hat Enterprise Linux and improving performance by addressing bottlenecks.
This document provides a summary of the Spring Framework reference documentation for version 2.5.6. It includes an overview of the framework, descriptions of key components like the IoC container and AOP support, and details on using Spring for enterprise applications with features such as transactions, JDBC, and testing.
This document provides a legal guide for podcasting, covering copyright, publicity rights, trademark, and distribution issues. It explains that permission is generally required to use others' written works but lists exceptions for facts, public domain works, US government works, fair use, and Creative Commons-licensed content. It also discusses using music, video, interviews and one's own written works in podcasts. The guide provides examples of fair use and explains how to license and distribute one's podcast while complying with copyright law.
SMX Social Media Scottsdale - Tools To Maximize Your Social Media EffortsTy Downing
This document provides tips for maximizing social media marketing. It recommends tools for smarter marketing, including Roost.com for Facebook content, timeu.se for determining the best times to post on Twitter and Facebook, and bit.ly/gplusweapon for growing circles and engagement on Google+. It also notes that the biggest spikes in Facebook usage tend to occur on weekdays from 11am to 3pm and 8pm ET based on analyzing 1500 random streams.
This study utilized the Diffusion of Innovation Theory (DOI), and the Digital Marketing Model (DMM) and proposes a model
to examine the impact of perceived internal and external factors; on the effective implementation
strategies employed by organizations and how they affect Web sustainability.
The document provides an overview and instructions for operating an ER-350 electronic cash register, including descriptions of the keyboard functions and basic features such as registering sales, totaling transactions, and accepting various forms of payment. It also outlines programming options for customizing settings like departments, taxes, clerks, and reports.
The document provides an overview of Apex development for the Winter '13 release of Salesforce:
- It introduces Apex and how it can be used to extend Salesforce with custom application logic. The basic development process is outlined including using sandboxes, writing code, testing, and deployment.
- Core Apex concepts like data types, variables, expressions, and control structures are explained. Invoking Apex via triggers, schedulers, and anonymous blocks is also covered at a high level.
- The document serves as a reference for Apex classes, interfaces, exceptions and standard methods that can be used in development. Debugging and testing techniques are also summarized.
This chapter introduces Joomla, an open source content management system (CMS) used to build websites. Joomla is derived from the Swahili word meaning "all together" and is the result of a discussion between the Mambo Foundation and its development team in 2005. Joomla has seen major version releases over the years including 1.0, 1.5, 1.6, 1.7, and the upcoming long term support (LTS) version 2.5. Joomla is used worldwide on simple homepages and complex corporate websites due to its ease of installation, management, and reliability. While many existing users have upgraded over the years, there are still those unfamiliar with the system.
This document summarizes the applied software engineering assignment for developing a Monopoly game. It includes reverse engineering the original game and analyzing requirements. System requirements and use cases are defined. Class diagrams and state diagrams are created to model the game elements and their relationships. The re-engineering process uses test-driven development, with unit tests created for key components. Some tests are incomplete, demonstrating a need to fully implement testing. The document concludes with a review of test-driven development effectiveness and recommendations to improve the software quality.
This document provides instructions for using the Scrapbook+ application version 2.2. It describes how to install Scrapbook+, start the application, capture pages by autopasting from the clipboard or taking screen captures, save Scrapbook+ files, open existing files, start new files, export pages to individual files, and cut, copy, and paste pages. The manual also contains information on configuring Scrapbook+, deleting pages, moving between pages, and finding pages.
The document summarizes deviations between JScript and ECMAScript Edition 3. It discusses 22 specific deviations across areas like white space handling, future reserved words, string literals, the arguments object, global object handling, and more. For each deviation, it provides an example and the output from running the example on different browsers to illustrate differences in implementation. The goal is to document JScript's non-conformance to the ECMA specification for various language features.
Production scheduling Using Microsoft Dynamics AX 2009
How to implement a production scheduling engine using Microsoft Dynamics AX 2009?
The standard Microsoft Dynamics AX 2009’s production scheduling engine considers the following:
A Route is a set of multiple operations sequentially executed.
The link between these operations can be soft or hard.
Each operation uses a specific work center
You can have several route versions to manufacture an item.
And more
In our production environment, a Production Line is a combination of two types of work centers that are a machine (an extruder) and downstream equipment (tools).We’re currently using a manual production scheduling system because there are some differences between the production module in Microsoft Dynamics AX 2009 and our current manual system. The current production routes registered in the system (in Dynamics AX 2009) are just enumeration of operations that in reality are done once at the time of the production.
This is meanly due to the understanding of the standard requirement of the production routing at the time of the implementation. The result of this mistake was a pure and simple abandon of the production scheduling sub module of Microsoft Dynamics AX 2009. Mainly because it will be too hard to maintain several thousand of routes.
Thus, the management decided to rely on its own experience.
The attempt of this paper is to show how we have tackled this complex issue of production scheduling and the lessons that we have learnt.
This document contains confidential information about a training module for an identity lifecycle manager. It establishes the document as proprietary and for internal use only. The document provides copyright information and disclaims any warranties for the content. It includes a table of contents but the content is not defined, indicating it is a draft or template document.
This document provides an overview and instructions for installing and configuring Slackware Linux. It covers getting and installing Slackware, system requirements, partitioning disks during setup, selecting and compiling kernels, configuring network hardware and network protocols like TCP/IP, and setting up dial-up connections using PPP. The table of contents provides additional details on topics like file system layout, finding files on the system, and managing kernel modules.
This chapter shows how to use the Data Wizard to add data to an existing HTML page template. The tutorial walks through opening the HTML template file, using the Data Wizard to connect to the sample schema and select the necessary data, and saving the file as a JSP. This creates a data model that makes the sample data available for use in generating the Web report.
The tutorial demonstrates how to add components to a new schematic design in DesignSpark. You select the Add Component browser tab and choose a component from the list, such as a resistor. You can then drag the component into the design window and place it by clicking. The tutorial instructs you to add 7 resistors to practice placing multiple components. Panning and zooming tools allow you to view the components closer.
This document provides information about the mia material shader library for architectural visualization and design. It discusses the fundamentals of physically based rendering used by the mia material, describes the material's features like its shading model, BRDF, and parameters for controlling effects like diffuse, reflections, refractions, and more. It also provides tips for simulating common materials like wood, glass, metals, water and optimizing performance.
Red Hat Enterprise Linux 4: Introduction to System Administration is a documentation guide that covers:
1. The philosophy of system administration including automating tasks, documenting processes, communicating with users, understanding resources and security.
2. Resource monitoring on Linux systems using tools like free, top, vmstat and the Sysstat suite to monitor CPU, memory, storage and bandwidth usage.
3. Managing bandwidth and processing power on Linux including monitoring techniques in Red Hat Enterprise Linux and improving performance by addressing bottlenecks.
This document provides a summary of the Spring Framework reference documentation for version 2.5.6. It includes an overview of the framework, descriptions of key components like the IoC container and AOP support, and details on using Spring for enterprise applications with features such as transactions, JDBC, and testing.
This document provides a legal guide for podcasting, covering copyright, publicity rights, trademark, and distribution issues. It explains that permission is generally required to use others' written works but lists exceptions for facts, public domain works, US government works, fair use, and Creative Commons-licensed content. It also discusses using music, video, interviews and one's own written works in podcasts. The guide provides examples of fair use and explains how to license and distribute one's podcast while complying with copyright law.
SMX Social Media Scottsdale - Tools To Maximize Your Social Media EffortsTy Downing
This document provides tips for maximizing social media marketing. It recommends tools for smarter marketing, including Roost.com for Facebook content, timeu.se for determining the best times to post on Twitter and Facebook, and bit.ly/gplusweapon for growing circles and engagement on Google+. It also notes that the biggest spikes in Facebook usage tend to occur on weekdays from 11am to 3pm and 8pm ET based on analyzing 1500 random streams.
This document provides an overview and outlines for a 16-lesson tutorial on learning Java and Eclipse. The tutorial uses a sample application for a personal lending library to demonstrate Eclipse features and teach Java concepts. Key topics covered include creating Java classes, writing JUnit tests, using the Eclipse scrapbook, ArrayLists, and developing with a test-first approach. The lessons progress from simple classes to implementing full methods for the lending library application.
This document provides an overview and outline for a tutorial on using Eclipse and Java for beginners. The tutorial covers topics such as creating a first Java class, adding methods, using Eclipse scrapbook, JUnit testing, test-driven development, creating classes like Book and Person, and developing a sample library application using an ArrayList. The document includes lesson outlines, code snapshots, and additional learning resources. The goal is to teach beginners the basics of using Eclipse for Java development and provide a foundation for continuing to learn Java and Eclipse.
This tutorial covers the basics of using FastTrack Schedule, including creating activities, drawing bars, typing dates, drawing milestones, dragging bars, changing the schedule date range, typing to change dates, printing the schedule, and printing the schedule in Calendar View. It introduces key elements of the FastTrack Schedule environment like the timeline, columns, rows, and timescale areas.
This document contains an acknowledgement section thanking contributors to the book including the author's family and website visitors. It also includes a short biography of the author, Dr. Liew Voon Kiong, who has over 15 years of programming experience and created a popular online Visual Basic tutorial. The table of contents provides an overview of the 14 lessons that make up the book, which aim to teach beginners about Visual Basic programming through examples and explanations of concepts like controls, data types, program flow, loops, functions and string manipulation.
This document provides an overview and tutorial on the Java programming language. It begins with an introduction to Java and discusses setting up the Java environment. It then covers Java basics like syntax, object-oriented programming concepts, variables, data types, operators, control flow statements and more. The document also includes tutorials on key Java aspects like strings, dates, numbers, arrays and regular expressions. It aims to give readers a complete understanding of the Java language.
This document provides an overview and tutorial on the Java programming language. It begins with an introduction to Java and discusses setting up a Java environment. It then covers Java basics like syntax, object-oriented programming concepts, variables, data types, operators, control flow statements and more. The document also includes tutorials on key Java aspects like strings, dates, numbers, arrays and regular expressions. It aims to give readers a complete understanding of the Java language.
This document provides an overview and tutorial on the Java programming language. It begins with an introduction to Java and discusses setting up the Java environment. It then covers Java basics like syntax, object-oriented programming concepts, variables, data types, operators, control flow statements and more. The document also includes tutorials on key Java aspects like strings, dates, numbers, arrays and regular expressions. It aims to give readers a complete understanding of the Java language.
This document provides an introduction to business modeling concepts and a comparison of the Unified Modeling Language (UML) and the Integration DEFinition (IDEF) family of languages for business modeling. It defines key terms like business models and processes. It also discusses how business models can provide requirements for information systems and support business improvement vs innovation. The document outlines some important business concepts and the relationship between business and software architecture.
This document provides an overview of the Eclipse Process Framework (EPF) Composer tool. It includes sections on downloading and installing EPF Composer, downloading method content from various sources, an introduction to key concepts and capabilities of EPF Composer, tutorials for using EPF Composer to explore, author, and publish method content, and explanations of key concepts underlying the EPF methodology framework.
The Invest Plus user manual describes the setup wizard that allows users to easily create an Invest Plus database in 6 simple steps. The wizard guides users to enter basic personal details, cash and savings account information, financial year details, trading account and broker information to get started using Invest Plus. It provides an intuitive way to create a new file and set up the necessary master records to manage personal finances.
This document is a tutorial for ModelSim software version 6.4b. It contains 9 chapters that provide conceptual overviews and step-by-step instructions for using ModelSim's basic simulation, project management, waveform analysis, memory viewing, automation, and debugging features. The document also includes examples, figures, and an end-user license agreement.
This document outlines the implementation procedures for United Nations assisted programs in Ethiopia. It details the roles and responsibilities of coordinating bodies like the Ministry of Finance and Economic Development (MOFED) and implementing partners at the federal and regional levels. It covers procedures for annual work plan formulation and approval, implementation arrangements, financial management, monitoring and evaluation, and auditing. The goal is to establish a common set of procedures to govern all UN assisted programs in Ethiopia and reduce transaction costs.
Here are the steps to create an employee master in Tally.ERP 9:
1. Go to Gateway of Tally > Payroll Info > Employee Masters > Create
2. In the Employee Master Creation screen, enter the following details:
- Employee Code (Unique ID)
- Employee Name
- Date of Joining
- Employee Group (select the relevant group created earlier)
3. Press Enter. The Employee Statutory Details screen will be displayed.
4. Enter the relevant statutory details like PF Number, ESI Number etc.
5. Press Enter. The Employee Personal Details screen will be displayed.
6. Enter other details like date of birth, gender, address etc.
7. Press
This document provides an overview of the user interface and functionality for a building design software program. It includes sections on the product range, user interface layout and features, input aids, editing tools, and guidance for first steps like creating a project and views, inserting walls, windows, doors and other building elements, and setting properties of views. The document contains a table of contents listing its various subsections.
This document provides an overview and tutorial on the Java programming language. It discusses Java's history and tools needed, how to set up the Java environment, Java's basic syntax including identifiers, variables, and keywords. It also covers Java's basic data types, variable types, modifiers, operators, loops, decision making, numbers, characters, strings, arrays, date/time, regular expressions, methods, I/O, exceptions, inheritance, polymorphism, abstraction, encapsulation, and interfaces. The tutorial is intended for Java beginners to help them understand concepts from basic to advanced.
This document provides an overview and tutorial on how to set up and use JUnit, a unit testing framework for Java. It discusses JUnit's features and environment setup, including downloading and configuring JUnit. It then covers writing and running basic JUnit tests, including creating test classes, methods, and runners. The document is intended for Java developers new to JUnit looking to learn its basic functionality and implementation.
This document provides an overview and tutorial on how to set up and use JUnit, a unit testing framework for Java. It discusses JUnit's features and environment setup, including downloading and configuring JUnit. It then covers writing and running basic JUnit tests, including creating test classes, methods, and runners. The document aims to teach readers how to incorporate JUnit into their Java projects for unit testing.
Develop a portfolio to demonstrate school leadership and management competenc...Saide OER Africa
The main purpose of this module is to assist you to compile a reflective portfolio with evidence of your competence in school leadership and management. The secondary purpose is to enable you to understand the use of portfolios as an assessment instrument, so that you will be able to promote their use for assessing learners in your school.
This document provides an overview of agile software development methodology. It discusses that agile is used to build software incrementally using short 1-4 week iterations aligned with changing business needs, rather than a single 6-18 month predictive process. It also describes key agile roles like the Scrum Master who facilitates the team and removes blocks, and the Product Owner who prioritizes features. Finally, it explains that agile uses daily stand-ups, demos, and retrospectives to frequently get working software in front of stakeholders for feedback.
Similar to Org.Eclipse.Jdt.Doc.User.I20050627 1435 (20)
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
“An Outlook of the Ongoing and Future Relationship between Blockchain Technologies and Process-aware Information Systems.” Invited talk at the joint workshop on Blockchain for Information Systems (BC4IS) and Blockchain for Trusted Data Sharing (B4TDS), co-located with with the 36th International Conference on Advanced Information Systems Engineering (CAiSE), 3 June 2024, Limassol, Cyprus.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Zilliz
Join us to introduce Milvus Lite, a vector database that can run on notebooks and laptops, share the same API with Milvus, and integrate with every popular GenAI framework. This webinar is perfect for developers seeking easy-to-use, well-integrated vector databases for their GenAI apps.
20 Comprehensive Checklist of Designing and Developing a WebsitePixlogix Infotech
Dive into the world of Website Designing and Developing with Pixlogix! Looking to create a stunning online presence? Look no further! Our comprehensive checklist covers everything you need to know to craft a website that stands out. From user-friendly design to seamless functionality, we've got you covered. Don't miss out on this invaluable resource! Check out our checklist now at Pixlogix and start your journey towards a captivating online presence today.
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
1. Basic tutorial
Adam Kiezun
M Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation bo
2. Basic tutorial
Table of Contents
Basic tutorial......................................................................................................................................................1
.
Preparing Eclipse...............................................................................................................................................2
Verifying JRE installation and classpath variables .................................................................................2
Java projects........................................................................................................................................................5
Java builder.........................................................................................................................................................6
Build classpath....................................................................................................................................................7
Classpath variables.............................................................................................................................................8
Java development tools (JDT)
............................................................................................................................9
Debugger............................................................................................................................................................10
Breakpoints
........................................................................................................................................................11
Adding breakpoints.........................................................................................................................................12
Java perspectives...............................................................................................................................................13
Java........................................................................................................................................................13
Java Browsing........................................................................................................................................13
Java Type Hierarchy..............................................................................................................................13
Debug.....................................................................................................................................................13
Java views..........................................................................................................................................................15
Package Explorer view..........................................................................................................................15
Hierarchy view.......................................................................................................................................15
Projects view..........................................................................................................................................15
Packages view........................................................................................................................................15
Types view.............................................................................................................................................15
Members view ........................................................................................................................................15
Changing the appearance of the console view...............................................................................................17
Console view.....................................................................................................................................................18
Stepping through the execution of a Java program......................................................................................19
Step over...............................................................................................................................................19
Step into................................................................................................................................................19
Step into Selection................................................................................................................................19
Step with filters.....................................................................................................................................19
Run to return.........................................................................................................................................19
Run to line.............................................................................................................................................20
i
3. Basic tutorial
Table of Contents
Launching a Java program.............................................................................................................................21
Java editor.........................................................................................................................................................22
Opening an editor for a selected element.......................................................................................................23
Using the Java editor.......................................................................................................................................24
Generating getters and setters........................................................................................................................25
Creating a new class in an existing compilation unit....................................................................................26
Creating a new Java class
................................................................................................................................27
Creating Java elements
....................................................................................................................................28
Creating a new Java project...........................................................................................................................29
Creating a Java project as its own source container....................................................................................30
Creating a Java project with source folders..................................................................................................31
Creating a new source folder..........................................................................................................................33
Java Build Path page........................................................................................................................................34
Source tab ...............................................................................................................................................34
Projects tab.............................................................................................................................................34
Libraries tab...........................................................................................................................................35
Order and Export tab ..............................................................................................................................36
Default output folder..............................................................................................................................36
File actions........................................................................................................................................................37
New Java Project Wizard.................................................................................................................................39
Project name page..................................................................................................................................39
Java settings page...................................................................................................................................39
Java Compiler..................................................................................................................................................41
General..................................................................................................................................................41
JDK Compliance.............................................................................................................................41
Classfile generation.........................................................................................................................41
Building................................................................................................................................................42
General............................................................................................................................................42
Build path problems........................................................................................................................42
Output folder...................................................................................................................................43
Errors/Warnings....................................................................................................................................43
Code style........................................................................................................................................43
Potential programming problems....................................................................................................44
ii
4. Basic tutorial
Table of Contents
Java Compiler
Name shadowing and conflicts ........................................................................................................44
Name shadowing and conflicts ........................................................................................................45
Unnecessary code............................................................................................................................45
J2SE 5.0 options..............................................................................................................................46
Building a Java program.................................................................................................................................49
Building automatically.....................................................................................................................................50
Building manually............................................................................................................................................51
Incremental build..................................................................................................................................51
Incremental project build......................................................................................................................51
Clean and rebuild from scratch (full build)..........................................................................................51
.
Clean and rebuild selected projects .......................................................................................................51
Working with build paths...............................................................................................................................53
Viewing and editing a project's Java build path...........................................................................................54
Adding a JAR file to the build path...............................................................................................................55
Adding a library folder to the build path......................................................................................................56
Creating a new JAR file..................................................................................................................................57
Attaching source to a JAR file........................................................................................................................58
Attaching source to a class path variable......................................................................................................59
Adding a classpath variable to the build path...............................................................................................60
Defining a classpath variable..........................................................................................................................62
Deleting a classpath variable
...........................................................................................................................63
Classpath variables..........................................................................................................................................64
Configurable variables..........................................................................................................................64
Reserved class path variables ................................................................................................................64
Working with JREs
..........................................................................................................................................65
Adding a new JRE definition..........................................................................................................................66
Assigning the default JRE for the workbench..............................................................................................67
iii
5. Basic tutorial
Table of Contents
Choosing a JRE for a launch configuration..................................................................................................68
Running and debugging..................................................................................................................................69
Remote debugging.............................................................................................................................................70
Using the remote Java application launch configuration.............................................................................71
Disconnecting from a VM...............................................................................................................................72
Debug view........................................................................................................................................................73
Local debugging................................................................................................................................................75
Resuming the execution of suspended threads..............................................................................................76
Evaluating expressions....................................................................................................................................77
Suspending threads..........................................................................................................................................78
Catching Java exceptions................................................................................................................................79
Removing breakpoints.....................................................................................................................................80
Enabling and disabling breakpoints
...............................................................................................................81
Applying hit counts..........................................................................................................................................82
Setting method breakpoints............................................................................................................................83
Breakpoints view..............................................................................................................................................84
Managing conditional breakpoints
.................................................................................................................85
Views and editors.............................................................................................................................................86
Changing the appearance of the Hierarchy view..........................................................................................87
Using the Hierarchy view................................................................................................................................88
Opening a type hierarchy on a Java element................................................................................................89
Changing new type hierarchy defaults..........................................................................................................90
Opening a type hierarchy on the current text selection...............................................................................91
iv
6. Basic tutorial
Table of Contents
Opening a type hierarchy in the workbench.................................................................................................92
Opening a type hierarchy in its own perspective..........................................................................................93
Type Hierarchy view........................................................................................................................................94
Type Hierarchy tree pane toolbar buttons .............................................................................................94
Member list pane toolbar buttons.........................................................................................................94
Java....................................................................................................................................................................96
Navigate actions...............................................................................................................................................98
Package Explorer view..................................................................................................................................100
Toolbar buttons..............................................................................................................................................101
Java element filters dialog.............................................................................................................................102
Filtering elements...........................................................................................................................................103
Using the Package Explorer view.................................................................................................................104
Showing and hiding elements
........................................................................................................................105
Showing and hiding system files...................................................................................................................106
Showing and hiding CLASS files generated for inner types......................................................................107
Showing and hiding libraries........................................................................................................................108
Showing single element or whole Java file...................................................................................................109
Java editor......................................................................................................................................................110
Toolbar actions ....................................................................................................................................110
Key binding actions............................................................................................................................110
Viewing documentation and information....................................................................................................112
Viewing Javadoc information.......................................................................................................................113
Using content/code assist...............................................................................................................................114
Scrapbook........................................................................................................................................................115
Creating a Java scrapbook page...................................................................................................................116
v
7. Basic tutorial
Table of Contents
Java scrapbook page......................................................................................................................................117
Displaying the result of evaluating an expression.......................................................................................118
Executing an expression................................................................................................................................119
Inspecting the result of evaluating an expression.......................................................................................120
Viewing runtime exceptions..........................................................................................................................121
Expressions view............................................................................................................................................122
New Java Scrapbook Page Wizard...............................................................................................................123
Viewing compilation errors and warnings..................................................................................................124
Setting execution arguments.........................................................................................................................125
Creating a Java application launch configuration......................................................................................126
Changing the active perspective when launching.......................................................................................128
Debug preferences..........................................................................................................................................130
Preparing to debug........................................................................................................................................132
Run and debug actions..................................................................................................................................133
Java search tab................................................................................................................................................135
Search string .........................................................................................................................................135
Search For............................................................................................................................................135
Limit To...............................................................................................................................................136
Scope....................................................................................................................................................136
Java search......................................................................................................................................................137
Searching Java code.......................................................................................................................................138
Conducting a Java search using pop−up menus.........................................................................................139
Search actions.................................................................................................................................................140
Conducting a Java search using the Search dialog.....................................................................................142
Formatting Java code....................................................................................................................................143
vi
8. Basic tutorial
Table of Contents
Setting code formatting preferences
.............................................................................................................144
Formatting files or portions of code.............................................................................................................145
Source actions.................................................................................................................................................146
Code Formatter..............................................................................................................................................149
Java editor......................................................................................................................................................150
Appearance and Navigation................................................................................................................150
Code assist..........................................................................................................................................151
Syntax Coloring..................................................................................................................................152
List of Quick Assists
........................................................................................................................................154
Quick Fix..........................................................................................................................................................158
JDT actions.....................................................................................................................................................161
Frequently asked questions on JDT.............................................................................................................162
Can I use a Java compiler other than the built−in one (javac for example) with the workbench?.....162
Where do Java packages come from?..........................................................................................162
When do I use an internal vs. an external JAR library file? .........................................................162
When should I use source folders within a Java project? .............................................................162
What are source attachments, How do I define one?...................................................................162
Why are all my resources duplicated in the output folder (bin, for example)?............................162
How do I prevent having my documentation files from being copied to the project's output
folder?....................................................................................................................................163
How do I create a default package? ..............................................................................................163
What is refactoring?.....................................................................................................................163
When do I use code select/code resolve (F3)?.............................................................................163
Is the Java program information (type hierarchy, declarations, references, for example)
produced by the Java builder? Is it still updated when auto−build is off? .............................163
After reopening a workbench, the first build that happens after editing a Java source file
seems to take a long time. Why is that? .................................................................................163
I can't see a type hierarchy for my class. What can I do?............................................................163
How do I turn off "auto compile" and do it manually when I want?...........................................164
When I select a method or a field in the Outline view, only the source for that element is
shown in the editor. What do I do to see the source of the whole file?.................................164
Can I nest source folders?.............................................................................................................164
Can I have separate output folders for each source folder?..........................................................164
Can I have an output or source folder that is located outside of the workspace?.........................164
JDT glossary...................................................................................................................................................165
Edit actions.....................................................................................................................................................167
vii
9. Basic tutorial
Table of Contents
Using Quick Fix..............................................................................................................................................169
Using Quick Assist.........................................................................................................................................170
Quick fix..........................................................................................................................................................171
Java outline.....................................................................................................................................................172
Toolbar buttons...................................................................................................................................172
Restoring a deleted workbench element......................................................................................................173
Using the local history...................................................................................................................................174
Replacing a Java element with a local history edition................................................................................175
Comparing a Java element with a local history edition.............................................................................176
Showing and hiding members........................................................................................................................177
Appearance.....................................................................................................................................................178
Showing full or compressed package names................................................................................................179
Showing and hiding override indicators.......................................................................................................180
Showing and hiding method return types
.....................................................................................................181
Sorting elements in Java views......................................................................................................................182
Java toolbar actions.......................................................................................................................................183
New Java Package Wizard.............................................................................................................................185
Creating a new Java package
........................................................................................................................186
Moving folders, packages, and files..............................................................................................................187
Refactoring support........................................................................................................................................188
Refactoring.....................................................................................................................................................189
Refactoring without preview.........................................................................................................................191
Refactoring with preview..............................................................................................................................192
Previewing refactoring changes....................................................................................................................193
viii
10. Basic tutorial
Table of Contents
Undoing a refactoring operation..................................................................................................................194
Redoing a refactoring operation...................................................................................................................195
Refactor actions..............................................................................................................................................196
Using Structured Selection............................................................................................................................199
Using Surround with Try/Catch...................................................................................................................200
Extracting a method......................................................................................................................................201
Renaming a method.......................................................................................................................................202
Renaming method parameters
......................................................................................................................203
Changing method signature..........................................................................................................................204
Refactoring Dialog.........................................................................................................................................205
Wizard based refactoring user interface.....................................................................................................206
Parameter pages..................................................................................................................................206
Preview page.......................................................................................................................................206
Problem page......................................................................................................................................206
JDT icons........................................................................................................................................................208
Objects................................................................................................................................................208
Object adornments..............................................................................................................................209
Build path............................................................................................................................................210
Code assist..........................................................................................................................................211
Compare..............................................................................................................................................211
Debugger.............................................................................................................................................211
Editor..................................................................................................................................................213
JUnit....................................................................................................................................................213
NLS tools............................................................................................................................................214
Quick fix.............................................................................................................................................214
Refactoring ..........................................................................................................................................215
Search ..................................................................................................................................................215
Search − Occurrences in File..............................................................................................................215
Type hierarchy view...........................................................................................................................215
Dialog based refactoring user interface.......................................................................................................217
Input dialog.........................................................................................................................................217
Preview dialog....................................................................................................................................217
Problem dialog....................................................................................................................................217
ix
11. Basic tutorial
Table of Contents
Override methods
...........................................................................................................................................219
Extract method errors...................................................................................................................................220
Extracting a local variable............................................................................................................................222
Inlining a local variable.................................................................................................................................223
Replacing a local variable with a query.......................................................................................................224
Copying and moving Java elements.............................................................................................................225
Extracting a constant.....................................................................................................................................227
Renaming a package......................................................................................................................................228
Opening a package.........................................................................................................................................229
Showing an element in the Package Explorer view....................................................................................230
Renaming a compilation unit........................................................................................................................231
Creating a new interface in an existing compilation unit...........................................................................232
Creating a new Java interface......................................................................................................................233
Creating a top−level interface.......................................................................................................................234
Creating a nested interface...........................................................................................................................235
Renaming a type.............................................................................................................................................236
Creating a new Java enum............................................................................................................................237
New Java Enum Wizard.................................................................................................................................238
Creating a new Java annotation...................................................................................................................239
New Java Annotation Wizard........................................................................................................................240
Creating a top−level class..............................................................................................................................241
Creating a nested class
...................................................................................................................................243
New Java Class Wizard..................................................................................................................................244
x
12. Basic tutorial
Table of Contents
New Source Folder Wizard............................................................................................................................246
New Java Interface Wizard............................................................................................................................247
Opening a type in the Package Explorer view.............................................................................................248
Organizing existing import statements........................................................................................................249
Adding required import statements.............................................................................................................250
Managing import statements........................................................................................................................251
Setting the order of import statements........................................................................................................252
Organize Imports...........................................................................................................................................253
Renaming a field............................................................................................................................................254
Renaming a local variable..............................................................................................................................255
Parameters page..............................................................................................................................................256
Inlining a method...........................................................................................................................................257
Inlining a constant
..........................................................................................................................................258
Self encapsulating a field...............................................................................................................................259
Pulling members up to superclass................................................................................................................260
Pushing members down to subclasses..........................................................................................................261
Moving static members between types.........................................................................................................262
Moving an instance method to a component...............................................................................................263
Converting a local variable to a field...........................................................................................................264
Converting an anonymous inner class to a nested class.............................................................................265
Converting a nested type to a top level type................................................................................................266
Extracting an interface from a type.............................................................................................................267
Replacing references to a type with references to one of its supertypes...................................................268
xi
13. Basic tutorial
Table of Contents
Replacing a single reference to a type with a reference to one of its supertypes.....................................269
Replacing an expression with a method parameter....................................................................................270
Replacing constructor calls with factory method invocations...................................................................271
Inferring type parameters for generic type references
...............................................................................272
Opening an editor on a type..........................................................................................................................273
Open Type
.......................................................................................................................................................274
Project actions................................................................................................................................................275
Run menu........................................................................................................................................................276
Content/Code Assist.......................................................................................................................................277
Templates........................................................................................................................................................278
Template dialog..................................................................................................................................278
Template variables..............................................................................................................................279
Templates.........................................................................................................................................................281
Using templates..............................................................................................................................................282
Writing your own templates..........................................................................................................................284
Task Tags........................................................................................................................................................285
Code templates...............................................................................................................................................286
Code and Comments............................................................................................................................286
Comment templates.......................................................................................................................286
New Java files template .................................................................................................................286
Catch block body template............................................................................................................287
Method body template...................................................................................................................287
Constructor body template............................................................................................................287
Getter body template.....................................................................................................................287
Setter body template......................................................................................................................287
Code Template dialog..........................................................................................................................287
Code style........................................................................................................................................................289
Naming Conventions...........................................................................................................................289
Code Conventions................................................................................................................................289
Create Getters and Setters............................................................................................................................291
xii
14. Basic tutorial
Table of Contents
String externalization.....................................................................................................................................292
Finding strings to externalize.........................................................................................................................293
Externalizing Strings......................................................................................................................................294
Finding unused and incorrectly used keys in property files.......................................................................295
Using the Externalize Strings Wizard..........................................................................................................296
Key/value page................................................................................................................................................297
...........................................................................................................................................................................298
Property File page...........................................................................................................................................300
Externalize Strings Wizard...........................................................................................................................302
String selection page...........................................................................................................................302
Translation settings page .....................................................................................................................302
Error page............................................................................................................................................303
Preview page.......................................................................................................................................303
Viewing marker help.....................................................................................................................................304
Javadoc location page....................................................................................................................................305
Javadoc generation........................................................................................................................................306
First page.............................................................................................................................................306
Standard doclet arguments..................................................................................................................306
General arguments..............................................................................................................................307
Creating Javadoc documentation..................................................................................................................309
Selecting types for Javadoc generation.........................................................................................................310
Configuring Javadoc arguments for standard doclet..................................................................................312
Configuring Javadoc arguments...................................................................................................................314
Showing and hiding empty packages............................................................................................................316
Showing and hiding empty parent packages................................................................................................317
Showing and hiding Java files
........................................................................................................................318
Showing and hiding non−Java elements.......................................................................................................319
xiii
15. Basic tutorial
Table of Contents
Showing and hiding non−Java projects........................................................................................................320
Showing and hiding import declarations......................................................................................................321
Showing and hiding package declarations
....................................................................................................322
Finding overridden methods.........................................................................................................................323
Display view....................................................................................................................................................325
Variables view................................................................................................................................................326
Show detail pane............................................................................................................................................327
Show detail pane............................................................................................................................................328
Re−launching a program...............................................................................................................................329
Console preferences.......................................................................................................................................330
JRE installations............................................................................................................................................331
Source attachments.........................................................................................................................................332
JAR......................................................................................................................................................332
Variable................................................................................................................................................332
Editing a JRE definition................................................................................................................................334
Deleting a JRE definition..............................................................................................................................335
Overriding the default system libraries for a JRE definition....................................................................336
Installed JREs
.................................................................................................................................................337
Defining the JAR file's manifest...................................................................................................................338
Creating a new manifest.....................................................................................................................338
.
Using an existing manifest..................................................................................................................338
Setting advanced options...............................................................................................................................340
JAR file exporter............................................................................................................................................341
JAR package specification..................................................................................................................341
JAR packaging options.......................................................................................................................341
JAR manifest specification.................................................................................................................342
Creating JAR files..........................................................................................................................................343
xiv
16. Basic tutorial
Table of Contents
Regenerating a JAR file
.................................................................................................................................344
Adding source code as individual files.........................................................................................................345
From a ZIP or JAR file.......................................................................................................................345
From a directory..................................................................................................................................345
Adding a JAR file as a library......................................................................................................................347
Java Compiler page........................................................................................................................................348
Converting line delimiters.............................................................................................................................349
Finding and replacing....................................................................................................................................350
Using the Find/Replace dialog.......................................................................................................................351
Using Incremental Find..................................................................................................................................352
Finding next or previous match.....................................................................................................................353
Changing the encoding used to show the source.........................................................................................354
Commenting and uncommenting lines of code...........................................................................................355
Shifting lines of code left and right
...............................................................................................................356
Exclusion and inclusion filters.......................................................................................................................357
Access rules......................................................................................................................................................358
Creating a new source folder with exclusion filter.....................................................................................359
Starting from scratch............................................................................................................................359
From an existing Java Project..............................................................................................................359
Creating a new source folder with specific output folder..........................................................................361
Creating your first Java project...................................................................................................................362
Getting the Sample Code (JUnit).........................................................................................................362
Creating the project..............................................................................................................................362
Browsing Java elements using the package explorer
..................................................................................366
Opening a Java editor....................................................................................................................................368
Adding new methods
......................................................................................................................................371
xv
17. Basic tutorial
Table of Contents
Using content assist........................................................................................................................................374
Identifying problems in your code
................................................................................................................376
Using code templates
......................................................................................................................................379
Organizing import statements......................................................................................................................382
Using the local history...................................................................................................................................384
Extracting a new method...............................................................................................................................386
Creating a Java class.....................................................................................................................................390
Renaming Java elements...............................................................................................................................398
Moving and copying Java elements...............................................................................................................401
Navigate to a Java element's declaration.....................................................................................................403
Viewing the type hierarchy............................................................................................................................406
Searching the workbench..............................................................................................................................412
Performing a Java search from the workbench...................................................................................412
Searching from a Java view................................................................................................................414
Searching from an editor .....................................................................................................................414
Continuing a search from the search view..........................................................................................415
Performing a file search......................................................................................................................416
Viewing previous search results.........................................................................................................417
Running your programs................................................................................................................................419
Debugging your programs............................................................................................................................424
Evaluating expressions..................................................................................................................................429
Evaluating snippets........................................................................................................................................431
Notices................................................................................................................................................433
About This Content..............................................................................................................................433
License ...........................................................................................................................................434
Using the Java browsing perspective...........................................................................................................435
Writing and running JUnit tests ...................................................................................................................437
Writing Tests
.......................................................................................................................................437
Running Tests.....................................................................................................................................438
Customizing a Test Configuration......................................................................................................439
Debugging a Test Failure....................................................................................................................440
xvi
18. Basic tutorial
Table of Contents
Writing and running JUnit tests
Creating a Test Suite...........................................................................................................................440
Project configuration tutorial.......................................................................................................................442
Detecting existing layout................................................................................................................................443
Layout on file system...........................................................................................................................443
Steps for defining a corresponding project...................................................................................443
.
Sibling products in a common source tree...................................................................................................447
Layout on file system...........................................................................................................................447
Steps for defining corresponding projects.....................................................................................447
Organizing sources.........................................................................................................................................452
Layout on file system...........................................................................................................................452
Steps for defining a corresponding project...................................................................................452
.
Overlapping products in a common source tree.........................................................................................459
Layout on file system...........................................................................................................................459
Steps for defining corresponding "Product1" and "Product2" projects .........................................459
Product with nested tests...............................................................................................................................467
Layout on file system...........................................................................................................................467
Steps for defining a corresponding project...................................................................................467
.
Products sharing a common source framework.........................................................................................475
Layout on file system...........................................................................................................................475
Steps for defining corresponding projects.....................................................................................475
Nesting resources in output directory..........................................................................................................483
Layout on file system...........................................................................................................................483
Steps for defining a corresponding project...................................................................................483
.
Project using a source framework with restricted access..........................................................................493
Layout on file system...........................................................................................................................493
Steps for defining corresponding projects.....................................................................................493
Getting Started with Eclipse 3.1 and J2SE 5.0.............................................................................................504
Prerequisites.........................................................................................................................................504
Compiler Compliance Level.........................................................................................................504
Generic Types......................................................................................................................................506
Annotations..........................................................................................................................................508
Enumerations.......................................................................................................................................509
Autoboxing..........................................................................................................................................509
Enhanced for loop................................................................................................................................510
Other....................................................................................................................................................510
xvii
19. Basic tutorial
Table of Contents
Creating a new Java Scrapbook Page..........................................................................................................512
Parameters page.............................................................................................................................................513
Problems page................................................................................................................................................514
Parameters page.............................................................................................................................................515
Parameters page.............................................................................................................................................516
Parameters page.............................................................................................................................................517
Parameters page.............................................................................................................................................518
Parameters page.............................................................................................................................................519
Parameters page.............................................................................................................................................520
Parameters page.............................................................................................................................................521
..........................................................................................................................................................................522
Parameters page.............................................................................................................................................523
..........................................................................................................................................................................524
Parameters page.............................................................................................................................................525
..........................................................................................................................................................................526
Parameters page.............................................................................................................................................527
..........................................................................................................................................................................528
..........................................................................................................................................................................529
Parameters page.............................................................................................................................................531
..........................................................................................................................................................................532
Building circular projects
..............................................................................................................................533
Building without cleaning the output location............................................................................................534
Attaching source to a library folder.............................................................................................................535
xviii
20. Basic tutorial
Table of Contents
Launching a Java applet...............................................................................................................................536
Launching a Java program in debug mode.................................................................................................537
Inspecting values............................................................................................................................................538
Using code assist.............................................................................................................................................539
Scrapbook error reporting............................................................................................................................540
Viewing compilation errors...........................................................................................................................541
Go to file for breakpoint................................................................................................................................542
Add Java exception breakpoint....................................................................................................................543
Suspend policy................................................................................................................................................544
Hit count.........................................................................................................................................................545
Uncaught.........................................................................................................................................................546
Caught.............................................................................................................................................................547
Modification....................................................................................................................................................548
Access..............................................................................................................................................................549
Exit..................................................................................................................................................................550
Entry................................................................................................................................................................551
Select all..........................................................................................................................................................552
Enable
..............................................................................................................................................................553
Disable.............................................................................................................................................................554
Remove selected breakpoint
..........................................................................................................................555
Remove all breakpoints.................................................................................................................................556
Show qualified names....................................................................................................................................557
Show supported breakpoints........................................................................................................................558
xix
21. Basic tutorial
Table of Contents
Properties........................................................................................................................................................559
Copy................................................................................................................................................................560
Select all..........................................................................................................................................................561
Find/Replace...................................................................................................................................................562
Go to line.........................................................................................................................................................563
Clear................................................................................................................................................................564
Terminate
........................................................................................................................................................565
Inspect.............................................................................................................................................................566
Display.............................................................................................................................................................567
Clear the display............................................................................................................................................568
Select all..........................................................................................................................................................569
Copy variables................................................................................................................................................570
Remove selected expressions.........................................................................................................................571
Remove all expressions..................................................................................................................................572
Change variable value...................................................................................................................................573
Show constants...............................................................................................................................................574
Show static fields............................................................................................................................................575
Show qualified names....................................................................................................................................576
Show type names............................................................................................................................................577
Add/Remove watchpoint...............................................................................................................................578
Inspect.............................................................................................................................................................579
Open declared type........................................................................................................................................580
Show qualified names....................................................................................................................................581
xx
22. Basic tutorial
Table of Contents
Show type names............................................................................................................................................582
Add/Remove watchpoint...............................................................................................................................583
Change variable value...................................................................................................................................584
Inspect.............................................................................................................................................................585
Step commands
...............................................................................................................................................586
JUnit................................................................................................................................................................587
Java Task Tags page.......................................................................................................................................588
Java Build Path page......................................................................................................................................589
Source tab .............................................................................................................................................589
Projects tab...........................................................................................................................................590
Libraries tab.........................................................................................................................................590
Order and Export tab ............................................................................................................................591
Default output folder............................................................................................................................591
Refactoring.....................................................................................................................................................593
Tips and Tricks....................................................................................................................................593
Editing source................................................................................................................................593
Searching.......................................................................................................................................608
Code navigation and reading.........................................................................................................610
Java views ......................................................................................................................................616
Miscellaneous................................................................................................................................621
Debugging.....................................................................................................................................626
What's New in 3.1................................................................................................................................637
J2SE 5.0...............................................................................................................................................637
Java Debugger ......................................................................................................................................652
Java Compiler......................................................................................................................................656
Java Editor...........................................................................................................................................659
General Java Tools ...............................................................................................................................665
xxi
23. Basic tutorial
This tutorial provides a step by step walk−through of the Java development tools.
Basic tutorial 1
24. Preparing Eclipse
In this section, you will verify that Eclipse is properly set up for Java development.
The following is assumed:
• You are starting with a new Eclipse installation with default settings.
• You are familiar with the basic Eclipse workbench mechanisms, such as views and perspectives.
If you're not familiar with the basic workbench mechanisms, please see the Getting Started chapter of the
Workbench User Guide.
Verifying JRE installation and classpath variables
1. If you still see the Eclipse Welcome page, click the arrow icon to begin using Eclipse.
2. Select the menu item Window > Preferences to open the workbench preferences.
3. Select Java > Installed JREs in the tree pane on the left to display the Installed Java Runtime
Environments preference page. Confirm that a JRE has been detected. By default, the JRE used to
run the workbench will be used to build and run Java programs. It should appear with a checkmark in
the list of installed JREs. We recommend that you use a Java SDK instead of a JRE. An SDK is
designed for development and contains the source code for the Java library, easing debugging.
Additional SDKs can be added by searching the hard drive for installed SDKs. To do so, simply click
the Search button and specify a root folder for the search.
4. Select General > Workspace in the tree pane to display the Workspace preference page. Confirm that
the Build automatically option is checked.
Preparing Eclipse 2
25. Basic tutorial
5. Select Java > Build Path in the tree pane to display the Build Path preference page. Confirm that
Source and output folder is set to Project.
6. Select Java > Editor in the tree pane to display the Java Editor preference page. Confirm that option
Report problems as you type is checked.
7. Click on OK to save the preferences.
Java projects
Classpath variables
Build classpath
Verifying JRE installation and classpath variables 3
26. Basic tutorial
Working with build paths
Working with JREs
JRE Installations Preferences
Java Editor Preferences
Verifying JRE installation and classpath variables 4